//
//  DetailViewController.h
//  UI_Contact
//
//  Created by dllo on 15/9/17.
//  Copyright (c) 2015年 宋爽. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Contacts.h"

@protocol Detail;

@interface DetailViewController : UIViewController
@property (nonatomic, copy) NSString *nameStr;
@property (nonatomic, copy) NSString *phoneStr;
@property (nonatomic, retain) UITextField *name;
@property (nonatomic, retain) UITextField *phone;
@property (nonatomic, assign) id<Detail> delegate;

@end


@protocol Detail <NSObject>

- (void)updateValues:(NSString *)name phone:(NSString *)phone;

@end